<script>
     var fruits = ['香蕉', '苹果', '雪梨', '火龙果'];

     var str = '';
     for (var i=0;i<fruits.length;i++){
        
     }


</script>